import type { TemplateType } from "./type";
import apiFileTemplate from "./explainTemplate/apiFileTemplate";
import pageTemplate from "./explainTemplate/pageTemplate";
import pageTypeTemplate from "./explainTemplate/pageTypeTemplate";
import utilsTemplate from "./explainTemplate/utilsTemplate";
import typingTemplate from "./explainTemplate/typingTemplate";

export const getExplainTemplates = () => {
  const ret: TemplateType[] = [
    { name: "示例接口文件", oldName: "示例接口文件", value: apiFileTemplate, isInput: false },
    { name: "示例页面文件", oldName: "示例页面文件", value: pageTemplate, isInput: false },
    { name: "示例页面类型文件", oldName: "示例页面类型文件", value: pageTypeTemplate, isInput: false },
    { name: "通用工具方法文件", oldName: "通用工具方法文件", value: utilsTemplate, isInput: false },
    { name: "通用类型文件", oldName: "通用类型文件", value: typingTemplate, isInput: false }
  ];
  return ret;
};
